<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<table border="1">

    <tr><!--table row表示行-->  <!--table data 表格数据  表示列-->
        <!--colspan跨列-->
        <td align="center" colspan="2">1-1</td>
        <td rowspan="2">1-3</td>
        <td rowspan="3" colspan="center">1-4</td>
    </tr>

    <tr>
        <td>2-1</td>
        <td>2-2</td>

    </tr>

    <tr>
        <td colspan="3" align="center">3-1</td>
    </tr>

</table>

<table border="1">
    <caption>购物车</caption>
    <tr><!--table head表头-->
        <td>编号</td>
        <td>商品名称</td>
        <td>商品价格</td>
    </tr>
    <tr>
        <td>1</td>
        <td>苹果15 pro max</td>
        <td>2000</td>
    </tr>
    <tr>
        <td>2</td>
        <td>OPPO手机</td>
        <td>3000</td>
    </tr>
    <tr>
        <td>总价</td>
        <td colspan="3" align="right">5000</td>
    </tr>
</table>


</body>
</html>